from django.contrib import admin
from student.models import Student,StudentDetail
# Register your models here.

class StudentAdmin(admin.ModelAdmin):
    list_display = ['id', 'name', 'sex', 'age', 'qq', 'phone', 'c_time']
    list_display_links = ['name', 'sex']
    list_filter = ['sex','age']
    list_per_page = 5
admin.site.register(Student, StudentAdmin)
admin.site.register(StudentDetail)
